package com.service.impl;

import com.dao.OrderDao;
import com.dao.impl.OrderDaoImpl;
import com.entity.Order;
import com.service.OrderService;

public class OrderServiceImpl implements OrderService{

	private OrderDao dao = new OrderDaoImpl();
	
	@Override
	public int add(Order order) {
		return dao.add(order);
	}

	@Override
	public Order findByOrderNO(String orderNO) {
		return dao.findByOrderNO(orderNO);
	}

	@Override
	public int updateStatus(Order order) {
		return dao.updateStatus(order);
	}

}
